<extend name="Index:default" />
<block name="header"><div class="ic_header"></block>
<block name="nav"><div class="ic_nav" id="j_nav"></block>
<block name="footer"><div class="ic_footer hide"></block>
<block name="cate_css"><div class="mod_cate" id="category_container"></block>
<block name="stylecss">
	<link rel="stylesheet" href="__PUBLIC__/home/css/center_style.css">
</block>
<block name="privatejs">
	<script>
	$("#category_container").hover(function(){
		$(this).toggleClass("mod_cate_on");
	});
	$(".center_ul li a").hover(function(){
		$(this).css("color","rgb(214,20,93)");	
	},function(){
		$(".center_ul li a").css("color","rgb(85,85,85)");
	});
	$("#click1").click(function(){
			$("#click2").css("background","#ccc");
			$(this).css("background","#ffffff");
			$(".center_click").css("display","block");
			$(".center_click2").css("display","none");
	});
	$("#click2").click(function(){
			$("#click1").css("background","#ccc");
			$(this).css("background","#ffffff");
			$(".center_click").css("display","none");
			$(".center_click2").css("display","block");

	});
</script>
</block>
<block name="content">
<div class="center_main">
		<div class="breadnav">		
			<span><a href="__APP__/home/index" style="color:rgb(8,92,155)">{$bread.0}</a></span>&nbsp;>&nbsp;<span><a href="__CONTROLLER__/index" style="color:rgb(8,92,155)">{$bread.1}</a></span>
		</div>
		<div class="center_left">
		<div class="center_classify">
			<h1>交易管理<h1>
		</div>
			<ul class="center_ul">
				<li><a href="__CONTROLLER__/indent">我的订单</a></li>
				<li><a href="__CONTROLLER__/collect">我的收藏</a></li>
				<li><a href="__CONTROLLER__/favorable">我的优惠劵</a></li>
				<li><a href="__CONTROLLER__/scores">我的积分</a></li>
				<li><a href="__CONTROLLER__/balance">我的账户余额</a></li>
		<div class="center_classify">
			<h1>服务中心<h1>
		</div>
				<li><a href="__APP__/Home/Service" target="_blank">催办订单</a></li>
				<li><a href="__APP__/Home/Service" target="_blank">修改订单</a></li>
				<li><a href="__APP__/Home/Service" target="_blank">取消订单</a></li>
		<div class="center_classify">
			<h1>资料管理<h1>
		</div>
				<li><a href="__CONTROLLER__/data">个人资料</a></li>
				<li><a href="__CONTROLLER__/delivery">收货信息</a></li>
				<li><a href="__CONTROLLER__/instation">站内信</a></li>
			</ul>	
		</div>
		<div class="center_right">
			<span class="center_indent"><h1>您好，尊敬的易迅网会员，欢迎来到易迅网！</h1></span>
			<div class="scores_usable">
			<ul>
			<li style="width:60px;">您的积分:</li>
			<li style="width:60px;color:red;">{$member.scores}积分</li>
			</ul>
		</div>
		<div class="scores_usable">
			<ul>
			<li style="width:60px;">账户余额:</li>
			<li style="width:60px;color:red;">{$member.balance}元</li>
			</ul>
		</div>
		<div class="scores_usable">
			<ul>
			<li style="width:60px;">您的等级:</li>
			<li style="width:24px;padding-top:5px;"><img src="__PUBLIC__/MemlevelUploads/{$memlevel.licon|explode='/',###|implode='/l_',###}" alt=""></li>
			<li style="width:60px;color:red;">{$memlevel.lname}</li>
			</ul>
		</div>
		<div class="scores_usable">
			<ul>
			<li style="width:60px;">您的特权:</li>
			<li style="width:60px;color:red;">会员日</li>
			</ul>
		</div>
			<div class="index_title"><h1 class="index_h1">近期订单</h1><span class="index_indent"><a href="__CONTROLLER__/indent" style="color:rgb(8,92,155)">查看所有订单</a></span></div>
			<div class="indent_border">	
				<div class="index_details">
					<ul>
						<li>订单编号</li>
						<li>下单日期</li>
						<li>收货人</li>
						<li>总金额</li>
						<li>状态</li>
						<li>操作</li>
					</ul>
				</div>
				<foreach name="orderdata" item="vo">
					<div class="index_content">
						<ul>
							<li>{$vo.onumber}</li>
							<li>{$vo.otime}</li>
							<li>{$vo.deliveryaddress}</li>
							<li>{$vo['gprice']*$vo['gnums']}</li>
							<li>
								<switch name="vo.ostate">
									<case value="0">交易取消</case>
									<case value="1">正在出库…</case>
									<case value="2">已出库</case>
									<case value="3">换货中…</case>
									<case value="4">退货中…</case>
									<case value="5">交易完成</case>
									<case value="6">交易完成</case>
								</switch>
							</li>
							<li>
								<switch name="vo.ostate">
									<case value="0">订单已取消</case>
									<case value="1">
										<a href="__CONTROLLER__/cancelOrder/id/{$vo.id}">取消订单</a>
									</case>
									<case value="2">
										<a href="__CONTROLLER__/confirmOrder/id/{$vo.id}">确认收货</a>
										|
										<a href="__CONTROLLER__/changeOrder/id/{$vo.id}">换货</a>
										|
										<a href="__CONTROLLER__/returnOrder/id/{$vo.id}">退货</a>
									</case>
									<case value="3">操作禁止</case>
									<case value="4">操作禁止</case>
									<case value="5">
										<a href="__APP__/home/Review/index/id/{$vo.id}">去评价</a>
										|
										<a href="__CONTROLLER__/changeOrder/id/{$vo.id}">换货</a>
										|
										<a href="__CONTROLLER__/returnOrder/id/{$vo.id}">退货</a>
									</case>
									<case value="6">已评价</case>
								</switch>
							</li>
						</ul>
					</div>
				</foreach>
			</div>
			<div class="index_title"><h1 class="index_h1">近期收藏</h1><span class="index_indent"><a href="__CONTROLLER__/collect" style="color:rgb(8,92,155)">查看所有收藏</a></span></div>
			<div class="indent_border">		
			<div class="index_details">
			<ul>
				<li style="width:200px">商品编号</li>
				<li style="width:200px">商品名称</li>
				<li style="width:200px">商品单价</li>
				<li style="width:200px">操作</li>
			</ul>
		</div>
		<foreach name="collectiondata" item="v">
			<div class="index_content" style="height:40px;line-height:20px;">
				<ul>
					<li style="width:200px">{$v.gnum}</li>
					<li style="width:200px"><a href="__APP__/home/goods/index/gid/{$v.gid}">{$v.gname|mb_substr=0,35,'utf-8'}……</a></li>
					<li style="width:200px">￥{$v.goldprice}</li>
					<li style="width:200px"><a href="__CONTROLLER__/delCollection/id/{$v.id}">删除</a></li>
				</ul>
			</div>
		</foreach>
		</div>
		</div>
</div>
<div class="mod_backtop hide" id="j_backtop">
            <a href="javascript:" title="回顶部" ytag="72300">回顶部</a>
        </div>

</block>

